<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人店铺-联系方式</title>
<link href="<?php echo $this->_webroot('/style/jq-ui/jquery-ui-1.8.18.custom.css'); ?>" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_webroot('/style/css.css'); ?>" rel="stylesheet" type="text/css">
<link href="<?php echo $this->_webroot('/style/content.css'); ?>" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery-1.7.1.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery-ui-1.8.18.custom.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/jquery.carouFredSel-5.5.0-packed.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/js.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $this->_webroot('script/content.js'); ?>"></script>


</head>

<body >
<!--
<body  onload="initialize();">
-->

<psp:tags     htmlname='shop_topnav'  iconname='shoptopnav' />

<div class="head headpadding">
    <psp:tags     htmlname='shopsearch_default'  iconname='shopsearch_default' />
    <div class="clear"></div>
</div>
<!-- nav_wrap -->
<div class="nav_wrap">
	<div class="nav_logo border_bottom1">
    	<img src="<?php if(!empty($SHOP['shop_template_img'])) {echo $SHOP['shop_template_img'];}else{echo $this->_webroot('photo/company_logo.jpg');}?>"  onerror="this.src='<?php echo $this->_webroot('photo/company_logo.jpg'); ?>'" width="998" height="154" />
    	<div class="nav1_content">
    		<ul class="nav1_ul">
                <psp:tags     htmlname='shopnav_default'  iconname='shopnav' />
            </ul>	
        
    	</div>    
    </div>
    
</div>
<!-- nav_wrap end -->

<div class="container margintop1">

	<!-- main_left -->
	<div id="main_left">
		<psp:tags     htmlname='shopleftmenu_default'  iconname='shopleftmenu_default' />	
        
        <!--  客服中心 -->
		<psp:tags     htmlname='shopservice_default'  iconname='shopservice_default' />
        <!--  客服中心 end -->
        
        <!-- 销量排行 -->
		<psp:tags     htmlname='shopsalesrank_default'  iconname='shopsalesrank_default' />	
        <!-- 销量排行 -->
        <div class="clear"></div>
        
        
    </div>
    <!-- main_left end -->

	<!-- main_right -->
	<div id="main_right">    
   		<!-- 联系方式 -->
		<div class="company_license_wrap">
            <div class="company_license_hd">
                <span class="company_contact_label">联系方式</span>
            </div>
        	<div class="company_contactway_body">
                <div class="company_contactway_content">
                    <div class="company_contact_name">
                    	<span class="company_linkman"><?php echo $SHOP['shop_name'];?></span>
                        <p>联系人：<span class="manager"><?php echo $SHOP['person_name'];?></span>
			    <?php  
				$shop_qq = explode(",",$SHOP['shopqq']); 
				if(!is_array($shop_qq))$shop_qq=array();
				foreach($shop_qq as $v) {
				  if($v) {
				?>
                <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $v;?>&site=qq&menu=yes">
                   <img border="0" src="http://wpa.qq.com/pa?p=2:<?php echo $v;?>:41" alt="点击这里给我发消息" title="点击这里给我发消息">
                   </a>
				<?php }} ?>  						
						</p>
                        <a href="<?php echo $this->_url('shop/shopintro/'.$SHOP['id']);?>" class="look_company_introduce">查看公司介绍</a><a href="<?php echo $this->_url('shop/credit/'.$SHOP['id']);?>" class="look_company_introduce">查看信用情况</a>
                    </div>
                    <div class="company_contact_way">
                    	<p>电&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;话：&nbsp;&nbsp;<?php echo $SHOP['telphone'];?></p>
                        <p>移动电话：&nbsp;&nbsp;<?php if (isset($this->controller->my->id)) { ?><?php echo $SHOP['mobile'];?><?php }else{ ?><a href="<?php echo $this->_url('user/login');?>" class="lookafterlogin toLoginBtn" >登录后可见</a><?php } ?></p>
                        <p>传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真：&nbsp;&nbsp;<?php echo $SHOP['fax'];?></p>
						<p>地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;址：&nbsp;&nbsp;<?php echo $SHOP['shop_address'];?></p>
                        <p>公司主页：&nbsp;&nbsp;<a href="<?php echo $SHOP['compenyurl'];?>" class="company_home"><?php echo $SHOP['compenyurl'];?></a></p>                        
                    </div>
                </div>
                <div class="company_map1">
                    <iframe src="<?php echo $this->_url('googlemap/showggmap/');?>?position=<?php echo $SHOP['map_x'];?>,<?php echo $SHOP['map_y'];?>"  width="100%" height="400" scrolling="no" frameborder="0" ></iframe>
              
				    <!--
					<div id="map_canvas" style="width:675px; height:400px;"></div>
					-->
                </div>
				
                <div class="clear"></div>
            </div>
            
    	</div>
		<!-- 联系方式 end -->
    </div>
    <!-- main_right end -->

	<div class="clear"></div>
</div>

<!-- 友情链接 -->
<psp:tags     htmlname='links'  iconname='links' />
<!-- 友情链接 end -->

<div class="clear"></div>

<psp:tags     htmlname='default_footer'  iconname='defaultfooter' />
<!--
<script src="http://maps.google.com/maps?file=api&v=2.x&key=ABQIAAAAPMb9i-xfXea2BhwglLD6vhQQfXL1E26uZVzpSr4bnBOO5ggYXxTJ8o5DOfAanEM5dHhSGnAhnn526Q" type="text/javascript"></script>
-->
<script language="JavaScript">
<!--
/*
// 地图处理开始
var now_x = <?php echo $SHOP['map_x'];?>;
var now_y = <?php echo $SHOP['map_y'];?>;
var now_zoom = <?php echo $SHOP['map_zoom'];?>;

if(now_x=='0' && now_y=='0'){
	var now_x = '116.39328002929687';
	var now_y = '39.89709437260048';
	var now_zoom = '5';
}

function initialize() {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map_canvas"));
		var center = new GLatLng(now_y, now_x);
		map.setCenter(center, now_zoom);

		var point = new GLatLng(now_y,now_x);
		var marker = new GMarker(point);
		map.addOverlay(marker);

		GEvent.addListener(map,"click", function(overlay,latlng) {
			if(latlng) {
				var point = new GLatLng(latlng.y,latlng.x); // 根据经纬度创建点
				var marker = new GMarker(point);			// 创建标注
				map.clearOverlays();						// 清除现有地图上的所有标注
				map.addOverlay(marker);						// 添加新标注

				now_x = latlng.x;
				now_y = latlng.y;
				now_zoom = map.getZoom();

				document.getElementById('now_x').value=now_x;
				document.getElementById('now_y').value=now_y;
				document.getElementById('now_zoom').value=now_zoom;
			}
		});

		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
	}
}

// 地图处理结束
*/

//-->
</script>
</body>
</html>